﻿using Microsoft.EntityFrameworkCore;
using Models.UserModels;
using System;
using System.Collections.Generic;
using System.Text;

namespace RepositoryEF
{
    public partial class AppDbContext: DbContext
    {
        public AppDbContext(DbContextOptions<AppDbContext> options)
           : base(options)
        {

        }
        protected override void OnModelCreating(ModelBuilder modelBuilder)
        {

        }
        public virtual DbSet<UserModel> USERTABLE { get; set; } // 用户列表
        public virtual DbSet<ImagesModel> IMAGETABLE { get; set; } // 图片列表
        public virtual DbSet<MenuModels> MENUTABLE { get; set; } //  菜单列表

        public virtual DbSet<USERROLEModel> USERROLETABLE { get; set; } //  菜单列表
    }
}
